public class  Sum3
{
	public static void main(String args[]) 
	{
		int i,s;
		i=1;
		s-0;
		while(i<=100)
		{s=s+i;
		i=i+1;
		}
		System.out.println("sum="+s);
	}
}
